package com.engine4cloud.tdf.supervision.dto.update;

import com.engine4cloud.tdf.common.core.constant.enums.CorElectronicFenceRuleTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 矫正对象电子围栏-请求对象
 *
 * @author wenjie
 * @date 2024-04-22 16:05:12
 */
@Data
@Schema(description = "矫正对象电子围栏-请求对象")
public class JzdxElectronicFenceUpdateDTO implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 限制规则
     */
    @Schema(description = "限制规则", example = "RESTRICTED_DEPARTURE")
    @NotNull(message = "限制规则规则不能为空")
    private CorElectronicFenceRuleTypeEnum xzgz;

    /**
     * 行政区划围栏父子集
     */
    @Schema(description = "行政区划围栏父子集", example = "[\"460000\",\"460100\",\"460108\"]")
    private List<String> areaFenList;

    /**
     * 自定义围栏坐标集合
     */
    @Schema(description = "自定义围栏坐标集合")
    private List<String> coordinateList;

}